package com.hdhere.domain;

import com.hdhere.domain.common.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by dus on 2018/11/25.
 */
@Entity
public class SysUserRole extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @Id
    private Long userId;
    @Id
    private Integer roleId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }
}
